package com.sls.game.service;

import com.sls.core.socket.Head;
import com.sls.game.page.Pagination;
import com.sls.game.pojo.jieyitong.JieyitongAreaServerInfo;
import com.sls.game.pojo.jieyitong.JieyitongGoodsInfo;

public interface JpayService {

	/**
	 * 保存产品信息
	 * 
	 * @param body
	 * @param head
	 */
	public void saveGoodsInfo(String body, Head head);

	/**
	 * 修改产品信息
	 * 
	 * @param body
	 * @param head
	 */
	public void updateGoodsInfo(String body, Head head);

	/**
	 * 通过主键查询
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public JieyitongGoodsInfo queryById(String body, Head head);

	/**
	 * 产品信息分页查询
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public Pagination<JieyitongGoodsInfo> queryPagination(String body, Head head);

	/**
	 * 保存区域信息
	 * 
	 * @param body
	 * @param head
	 */
	public void saveAreaInfo(String body, Head head);

	/**
	 * 区域信息分页查询
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public Pagination<JieyitongAreaServerInfo> queryAreaPagination(String body,
			Head head);
}
